Systems and methods to manage themes in lighting modules

ABSTRACT

A lighting system includes lighting fixtures and a lighting controller that sends commands and data over an AC power line to power and control the lighting fixtures. Lighting themes are uniquely programmable color and intensity that are applied to a collection of lighting groups to achieve different lighting modes instantly, without the delay that programming each lighting fixture individually incurs. The groups of lighting modules receive theme lighting information over the power line and store the theme information in memory. The lighting controller sends a single command to the collections of the lighting groups to apply the theme. Each lighting module retrieves and applies the theme information.

INCORPORATION BY REFERENCE TO ANY PRIORITY APPLICATIONS

Any and all applications for which a foreign or domestic priority claimis identified in the Application Data Sheet as filed with the presentapplication are hereby incorporated by reference under 37 CFR 1.57.

BACKGROUND

Lighting systems can include a plurality of lights connected to atransformer. There may be one or more “legs” or sets of wires coming outof the transformer, each connected to at least one lighting module. Atimer box connects to the transformer. The user programs the on/offtimes and all of the lights energize in unison, such that all lightingmodules connected to a particular transformer turn ON or OFF togetherregardless of which leg they are on.

Some manufacturers can provide lighting systems with addressablelighting modules. The timer box of the traditional lighting system isreplaced with a lighting controller that supplies the lighting moduleswith a separate power and data signal. Each lighting module has anaddress and is independently addressable by the lighting controller viathe data signal. These networked lighting systems provide the lightingmodules with two sets of wires instead of the one or more legs. One setprovides a power signal to illuminate the lights, lamps, or LEDs and asecond set provides the lighting module with a data signal. The userprograms the lighting controller to turn-on and turn-off lights of alighting module at individual addresses such that a single lightingmodule can turn-on or turn-off independently of the other lightingmodules in the network, when, for example, the data signal carries theaddress of a particular lighting module.

SUMMARY

The innovations described in the claims each have several aspects, nosingle one of which is solely responsible for the desirable attributes.Without limiting the scope of the claims, some prominent features ofthis disclosure will now be briefly described.

A lighting system includes lighting modules and a lighting controllerthat sends commands and data over an AC power line to power and controlthe lighting modules. The lighting system can be an indoor lightingsystem for commercial or residential use. The lighting system can be anoutdoor lighting system for commercial or residential use. The AC powerline can be low voltage, such as approximately ±12 VAC or the like. TheAC power line can be line voltage or approximately line voltage, suchas, for example but not limited to 100 VAC 50 Hz or 60 Hz, 110 VAC 50 Hzor 60 Hz, 115 VAC 50 Hz or 60 Hz, 220 VAC 50 Hz or 60 Hz, 230 VAC 50 Hzor 60 Hz, 240 VAC 50 Hz or 60 Hz and the like. The AC power line fromthe lighting controller can be a two-wire path that carries thepower/data signal to the lighting modules.

The lighting modules can be uniquely addressable by the lightingcontroller. The lighting modules can be grouped into lighting groups orzones and each group or zone of lighting modules can be addressable.Each group or zone can include one or more lighting modules. Eachlighting module can include one or more lamps. A lamp can be an LED. Thelighting module can control one or more of ON/OFF times, color, colortemperature, and intensity of the one or more lamps based on thecommands and data received over the AC power line from the lightingcontroller.

Lighting themes are uniquely programmable ON/OFF, color, colortemperature, and/or intensity that are applied to a collection oflighting groups to achieve different lighting modes instantly, withoutthe delay that programming each lighting fixture individually incurs.The groups of one or more lighting modules receive theme lightinginformation over the AC power line and each lighting module stores thetheme information in memory. The lighting controller sends a singlecommand to one or more lighting groups to apply the theme. Each lightingmodule of the one or more lighting groups retrieves and applies thetheme information.

Aspects of the disclosure are directed to a system to manage lightingthemes in a plurality of lighting modules. The system comprises alighting controller configured to receive AC power from a primary ACpower source and user input indicative of lighting theme information andgenerate a data encoded power signal to provide power and encodedmessages based on the lighting theme information over a two-wirenetwork. The lighting theme information includes a request to implementa lighting theme of a plurality of lighting themes. The system furthercomprises a plurality of lighting modules, where each lighting module ofthe plurality of lighting modules is configured to receive the dataencoded power signal over the two-wire network. Each lighting moduleincludes at least one lamp, lamp driver circuitry, a microprocessor, andmemory storing instructions, that when executed by the processor,configure the lighting module to decode at least a portion of theencoded message. The first portion includes an indication of therequested lighting theme. The instructions further configure thelighting module to retrieve one or more stored settings for the at leastone lamp that are associated with the requested lighting theme from thememory and execute the retrieved settings. The lighting themeinformation can further comprise commands based on the user input toimplement the requested lighting theme. The instructions can furtherconfigure each lighting module of the plurality of lighting modules todecode a second portion of the encoded message after executing theretrieved settings associated with the requested lighting theme. Thesecond portion of the encoded message can include the commands based onthe user input.

In an embodiment, executing the retrieved settings causes each lightingmodule to apply the retrieved settings to the at least one lamp. In anembodiment, the instructions further configure each lighting module tocompare the commands based on the user input from the decoded secondportion with the one or more stored settings to determine changes in therequested lighting theme. In an embodiment, the instructions furtherconfigure each lighting module to revise the one or more stored settingsbased on the determined changes in the requested lighting theme. In anembodiment, the instructions further configure each lighting module toexecute the commands based on the user input from the decoded secondportion when the comparison indicates changes in the requested lightingtheme. In an embodiment, the instructions further configure eachlighting module to replace the one or more stored settings in the memorywith the commands based on the user input from the decoded secondportion.

In an embodiment, the first portion further includes an indication toapply the requested lighting theme. In an embodiment, the at least onelamp is an LED, an incandescent light, a low voltage light, or a linevoltage light. In an embodiment, the commands provide indications tocontrol one or more of ON/OFF times, color, color temperature, orintensity of the at least one lamp.

Other aspects of the disclosure are directed to a lighting modulecomprising at least one lamp, a microprocessor, and memory storinginstructions, that when executed by the microprocessor, cause thelighting module to receive a data encoded power signal over a two-wirenetwork. The data encoded power signal provides power and encodedmessages. The encoded messages include lighting theme informationindicative of a lighting theme of a plurality of lighting themes. Theinstructions further cause the lighting module to decode at least aportion of the received message, where the at least a portion includesan indication of the lighting theme, and execute one or more settingsstored in the memory for the at least one lamp and associated with thelighting theme based on the indication of the lighting theme. Theinstructions can further cause the lighting module to decode a secondportion of the encoded message after executing the stored settingsassociated with the lighting theme. The second portion of the encodedmessage can include commands associated with the lighting themeinformation.

In an embodiment, the instructions further cause the lighting module tocompare the commands from the decoded second portion with the storedsettings to determine changes in the lighting theme. In an embodiment,the instructions further cause the lighting module to store in thememory the determined changes in the lighting theme. In an embodiment,the instructions further cause the lighting module to implement thecommands from the decoded second portion when the comparison indicateschanges in the lighting theme. In an embodiment, each lighting module ofthe plurality of lighting modules is addressable. In an embodiment, theat least one lamp is an LED, an incandescent light, a low voltage light,or a line voltage light.

Other aspects of the disclosure are directed to a method to managelighting themes in lighting modules. The method comprises receiving at aplurality of lighting modules a data encoded power signal over atwo-wire network. The data encoded power signal provides power andencoded messages. The encoded messages includes lighting themeinformation indicative of a lighting theme of a plurality of lightingthemes. The method further comprises decoding, with at least onelighting module of the plurality of lighting modules, at least a portionof the received message. The first portion includes an indication of thelighting theme. The at least one lighting module comprises memory and atleast one lamp. The method further comprises applying, with the at leastone lighting module, one or more settings stored in the memory for theat least one lamp and associated with the lighting theme. The method canfurther comprise decoding, with the at least one lighting module, asecond portion of the encoded message after applying the stored settingsassociated with the lighting theme. The decoded second portion caninclude commands associated with the lighting theme.

In an embodiment, the commands provide indications to control one ormore of ON/OFF times, color, color temperature, or intensity of the atleast one lamp. In an embodiment, the method further comprisescomparing, with the at least one lighting module, the commands from thedecoded second portion with the stored settings to determine changes inthe lighting theme. In an embodiment, the method further comprisesapplying, with the at least one lighting module, the commands from thedecoded second portion when the comparison indicates changes in thelighting theme. In an embodiment, the method further comprisesover-writing, with the at least one lighting module, the stored settingsin the memory with the commands from the decoded second portion when thecomparison indicates changes in the lighting theme.

For purposes of summarizing the disclosure, certain aspects, advantagesand novel features of the innovations have been described herein. It isto be understood that not necessarily all such advantages may beachieved in accordance with any particular embodiment. Thus, theinnovations may be embodied or carried out in a manner that achieves oroptimizes one advantage or group of advantages as taught herein withoutnecessarily achieving other advantages as may be taught or suggestedherein.

BRIEF DESCRIPTION OF THE DRAWINGS

These drawings and the associated description herein are provided toillustrate specific embodiments and are not intended to be limiting.

FIG. 1 illustrates an exemplary lighting system, according to certainembodiments.

FIGS. 2A-2H depicts exemplary data encoded power waveforms fortransmission along the two-wire path, according certain embodiments.

FIG. 3 is a block diagram of an exemplary single channel lighting moduleincluding memory to store theme information, according to certainembodiments.

FIG. 4 is an exemplary schematic diagram of a single channel lightingmodule including memory to store theme information, according to certainembodiments.

FIG. 5 is a block diagram of an exemplary multichannel lighting moduleincluding memory to store theme information, according to certainembodiments.

FIG. 6 is an exemplary schematic diagram of a multichannel lightingmodule including memory to store theme information, according to certainembodiments.

FIG. 7A illustrates a portable lamp plugged into a wall outlet.

FIG. 7B illustrates a control adapter that includes memory for storingtheme information and controls a portable lamp without memory inresponse to the theme information, according to certain embodiments.

FIGS. 8A-8C are flow charts illustrating a process to apply lightingthemes to one or more groups of lighting modules, according to certainembodiments.

FIGS. 9A-9E are flow charts illustrating another process to applylighting themes to one or more groups of lighting modules, according tocertain embodiments.

FIGS. 10A-10E are flow charts illustrating another process to applylighting themes to one or more groups of lighting modules, according tocertain embodiments.

DETAILED DESCRIPTION

The following detailed description of certain embodiments presentsvarious descriptions of specific embodiments. However, the innovationsdescribed herein can be embodied in a multitude of different ways, forexample, as defined and covered by the claims. In this description,reference is made to the drawings where like reference numerals canindicate identical or functionally similar elements. It will beunderstood that elements illustrated in the figures are not necessarilydrawn to scale. Moreover, it will be understood that certain embodimentscan include more elements than illustrated in a drawing and/or a subsetof the elements illustrated in a drawing. Further, some embodiments canincorporate any suitable combination of features from two or moredrawings.

Aspects of this disclosure relate to lighting modules, also referred toas lighting fixtures, which receive power and theme data from a lightingcontroller over a two-wire path. The lighting modules can include memoryto store the theme data. When the lighting modules receive a commandfrom the lighting controller to apply the theme, each addressed lightingmodule retrieves the theme data and controls one or more of ON/OFFtimes, color, color temperature, and intensity of its lights, lamps, orLEDs according the retrieved theme data.

Some lighting systems send power to lighting modules over a first set ofwires and send data to the lighting modules over a second set of wires.Other lighting systems send power to the lighting modules over a firstset of wires and send data over a radio frequency (RF) communicationsystem. Aspects of this disclosure use a two-wire command/data path tosend power and data to the lighting modules. Advantageously, thetwo-wire path eliminates the need for the second set of wires to bewired to each lighting module, which results in a cost savings. Further,the two-wire path eliminates the need to implement an RF receiver ineach lighting module, which also results in a cost savings. The lightingsystem including the two-wire path provides flexibility to reprogram oneor more of the ON/OFF times, color, color temperature, and intensity forone or more groups of one or more lighting modules.

In some aspects disclosed herein, the lighting modules can bedaisy-chained to the AC power line, which can be the house or mainswiring. This further reduces wiring costs and adds wiring flexibilitywhen installing the lighting system.

FIG. 1 illustrates an exemplary lighting system 100. The lighting system100 comprises a lighting controller 102 in communication with aplurality of lighting fixtures or modules 104 through a two-wire path126. The lighting controller 102 can include a power supply and anoperator interface. The lighting fixtures 104 are grouped into zones106, which are also referred to as groups.

In the example illustrated in FIG. 1, zone 1 106 a comprises lightingfixture 1 104 a, which provides illumination to a portion of the houseexterior. Zone 2 106 b comprises lighting fixtures 2, 3, 4 104 b, 104 c,104 d, respectively, which illuminate the path, while zone 3 106 ccomprises lighting fixtures 5, 6, 7, 104 e, 104 f, 104 g, respectively,which provide accent lighting for the tree. In other embodiments, thelighting system 100 can be configured with more or less zones 106 and/orwith more or less lighting fixtures 104 in each zone 106. While FIG. 1illustrates an outdoor lighting system, the lighting system 100 can bean indoor lighting system for a residence or for a commercialapplication.

Typically, the lighting fixtures 104 in each zone 106 turn ON or OFFtogether, but unlike some traditional lighting systems, each zone 106can be controlled independently of the other zones 106. In one examplefor the lighting system 100 illustrated in FIG. 1, zone 1 106 a turns ONat dusk and turns OFF at dawn to illuminate the front door of the house.For Halloween, the front door can be illuminated with orange light andon Valentine's Day, the front door can be illuminated with red light.Zone 2 106 b turns ON at dusk and turns OFF at 9 PM to illuminate thepath. The intensity is set to the maximum to provide better illuminationof the path. Finally, zone 3 turns ON at 7 PM and turns OFF at 10 PM toprovide accent lighting in the yard. The accent lighting intensity canbe set at 30%.

In one embodiment, the lighting system 100 is a residential outdoorlighting system. In other embodiments, the lighting system 100 is usedfor outdoor commercial purposes to illuminate the outside of hotels,golf courses, amusement parks, and the like, and for indoor commercialpurposes to illuminate hotel interiors, office building interiors,airport terminals, and the like. In further embodiments, the lightingsystem 100 is used to illuminate housing developments. In yet furtherembodiments, the lighting system 100 is used to illuminate art work inresidences, in museums, or the like. Many possibilities exist for thelighting system 100 to one skilled in the art from the disclosureherein.

The lighting controller 102 receives AC power from a primary AC powersource and addresses/data/commands/theme information from a user andprovides a data encoded power waveform, also indicated as a data encodedpower signal, to the plurality of lighting fixtures 104 through thetwo-wire path 126.

The user can input the addresses/data/commands associated with the themeinformation to control the lighting functions for one or more groups orzones of lighting modules. The lighting functions can include, forexample, one or more of timing control, dimming, brightness, color,color temperature, hue, zone allocation, intensity, and the like. Insome aspects, the lighting controller 102 includes an operator interfacepanel and the user inputs the theme information through the operatorinterface panel.

In one aspect, the operator interface panel can include operatorcontrols, such as selection buttons, knobs, and the like, which the useruses to input the desired theme information to the lighting system 100,and displays and indicators to provide feedback to the user. Theoperator interface panel can further include a computer and itsassociated memory. The microprocessor interfaces with the operatorcontrols to store the theme information in its memory and to send thetheme information to be encoded onto the power waveform. Themicroprocessor further interfaces with the displays and indicators todisplay information received from the lighting controller 102. Theoperator interface can be buttons, virtual icons or buttons on a touchscreen, voice controlled or any user interface recognizable to anartisan from the disclosure herein.

In another aspect, the lighting system 100 can be accessed remotely bydevices, such as laptops, computers, smart devices, smartphones,web-enabled automobiles, and the like. For example, the lighting systemcan include a mobile carrier network module which electrically couplesto the lighting controller 102 and communicates with the World Wide Webvia a mobile carrier's network. The user can use the devices to send thetheme information to the lighting system 100. In one aspect, firmwareeither inside the lighting controller 102 or in the module serves up awebpage. In another aspect, an application is provided forapplication-enabled devices, such as the laptops, computers, smartdevices, smartphones, web-enabled automobiles, and the like. The userinteracts with the application, and the application communications withthe module via the World Wide Web. In a third aspect, a web basedapplication is hosted on a server on the World Wide Web. The userinteracts with this webpage using the devices which include a webbrowser and the application communicates with the lighting controller102.

U.S. Pat. Nos. 8,773,030 and 9,609,720 set forth details relating tolighting systems including lighting controllers and lighting modules.U.S. Pat. No. 8,773,030 titled “Low Voltage Outdoor Lighting PowerSource and Control System,” issued on Jul. 8, 2014, relates to lowvoltage lighting systems and includes figures and corresponding writtendisclosure describing illustrative embodiments of the same. U.S. Pat.No. 9,609,720 titled “Low Voltage Outdoor Lighting Power Source andControl System,” issued on Mar. 28, 2017, relates to systems and methodsfor providing power and data to lighting devices and includes figuresand corresponding written disclosure describing illustrative embodimentsof the same. U.S. Pat. Nos. 8,773,030 and 9,609,720 are herebyincorporated herein by reference in their entireties and considered apart of this specification.

FIGS. 2A-2H illustrate various data encoded power waveforms that providepower and data to the lighting modules 104 via the two-wire path 126.The data encoded power waveforms can be low voltage, such as ±12 VAC,high voltage, such as 110 VAC, 120 VAC, and the like. The waveforms canbe square waves, sinusoidal waves, and the like. The data can be phasemodulated, amplitude modulated, or frequency modulated onto the powerwaveform. Examples of data encoding techniques that can be used toencode the data onto the power waveform are, but not limited tofrequency shift keying, Manchester encoding, return to zero (RZ),Nonreturn to Zero-Level (NRZ-L), Nonreturn to Zero Inverted (NRZI),Bipolar Alternate Mark Inversion (AMI), Pseudoternary, differentialManchester, Amplitude Shift Keying (ASK), Phase Shift Keying (PSK, BPSK,QPSK), and the like. In an embodiment, the data encoded power waveformcomprises a sinusoidal waveform between zero crossings.

For example, FIGS. 2A-2C illustrate frequency encoded square waveforms;FIG. 2D illustrates a frequency encoded sinusoidal waveform, FIGS. 2E-2Gillustrate sinusoidal waveforms encoded with a delay; and FIG. 2Hillustrates a phase modulated sinusoidal waveform. FIGS. 2A-2H arenon-limiting examples of data encoded power waveforms that can beprovided by the lighting controller 102 via the two-wire path 126 to thelighting modules 104.

FIG. 3 is a block diagram of an exemplary single channel lighting module6100 that can be used with the lighting controller 102 that is capableof encoding data onto a low voltage power line. The illustrated lightingmodule 6100 receives a data encoded low voltage power waveform andcomprises a bridge rectifier 6102, a conditioning circuit 6104, avoltage regulator 6106, a microcontroller 6108, a temperature sensor6110, an LED driver 6112, and one or more lamps 6120. In the illustratedembodiment, the lamps 6120 comprise LEDs. In other embodiments, thelamps 6120 can be other light emitting devices, such as, for example,incandescent bulbs, florescent bulbs, or the like.

The bridge rectifier 6102 receives the encoded power waveforms, from thelighting controller 102. The bridge rectifier 6102 comprises a pluralityof diodes, such as, for example, Schottky diodes, part number SBR2A40P1available from Diodes Inc., or the like. The bridge rectifier 6102converts an input signal of any polarity into a DC signal to power theother circuits on the lighting board. This DC signal is fed into the LEDDriver 6112, which can be a driver integrated circuit, part numberAL8805 available from Diodes Inc., or an equivalent. The driverintegrated circuit uses an efficient Buck Switching topology to generatea regulated output current which is used to power the LED(s) 6120. In anembodiment, the LED 6120 can be a high-power LED, such as, for example,a CREE XP-E or an equivalent.

The DC voltage output from the bridge rectifier 6102 is also used tocreate a regulated logic supply voltage from the voltage regulator 6106.In an embodiment, the voltage regulator 6106 can be a 3-Volt regulator,such as, for example, part number TPS71530 available from TexasInstruments, or the like.

The voltage regulator 6106 supplies power to the microcontroller 6108,such as, for example, part number PIC16F1824 available from MicrochipTechnology, or the like. The microcontroller 6108 and associatedfirmware comprise a receiver for the data being sent from the lightingcontroller 102. The illustrated lighting module 6100 further comprisesmemory 6114, which can be included in the microcontroller 6108, or canbe external to the microcontroller 6108. The memory 6114 can store oneor more of the firmware and the theme information.

A conditioning network comprising a plurality of resistor and capacitorscouples data from lighting controller 102 to the microcontroller'scomparator input while simultaneously limiting current into themicrocontroller 6108. The output of the comparator (within themicrocontroller 6108) is used to determine the nature of the data. Themicrocontroller 6108 then generates a signal 6130 which is coupled tothe LED Driver 6112. This signal 6130 is used to vary the intensity ofthe light 6120 based on data received from the power supply 302.

In an embodiment, part of the data received is an address that is usedto determine if the information being sent is intended for this light6120, as each light can have a unique address. In other embodiments, itis also possible for certain commands to be intended for lighting groupsor zones, such as zones 106 a, 106 b, and 106 c. A group may be definedas a certain type of light, for instance, a path light, or a group maybe all lights in a certain location. In yet other embodiments, commandsmay be intended for all lights 6120. Therefore, using this addressingtechnique, commands may affect an individual light, a group of lights,or all lights. In another embodiment, data encoded power waveform fromthe lighting controller 102 communicates an intensity pattern to thelight 6120. This could be a pre-orchestrated pattern of varyingintensities, for example. In an embodiment, the pattern may be “canned”or preset inside the lighting fixture, or for the details of it to becommunicated from the lighting controller 102. This feature may beuseful, for example, for lighting themes which may be synchronized tomusic.

The output of a comparator (within the microcontroller 6108) can alsoinclude the phase information for the incoming data encoded powerwaveform. In some aspects, this is important because the brightness ofthe LED 6120 is determined by a pulse width modulation (PWM) waveformfrom the microcontroller 6108. Unless this PWM waveform is synchronizedwith the incoming power, visible “flickering” may be seen as these twosignals (power and PWM) are “mixed”. Therefore it is important for themicrocontroller 6108 to know the phase of the incoming power, andperiodically reset a PWM counter in order to synchronize the PWM signalto the power waveform.

In some aspects, the microcontroller 6108 protects the lighting module6100 from overheating. In general, high-power LEDs 6120 generate heat.In an embodiment, the lighting module 6100 comprises the temperaturesensor 6110 on the printed circuit board of the lighting fixture 6100.The temperature sensor 6110 can be, for example, part number MCP9700available from Microchip Technology, or the like. The temperaturesensor's output is an analog voltage which is read by an A/D converterin the microcontroller 6108. The microcontroller 6108 uses thisinformation to “throttle back” the power to the LED 6120 when thetemperature rises above threshold temperature. The threshold temperaturecan be chosen to keep the internal junction temperature of the LED 6120within its rated specification. The throttling is achieved the same waythe intensity variation is achieved, as described above.

FIG. 4 is an exemplary schematic diagram of a single channel lightingmodule 6200, according to one embodiment. In the illustrated singlechannel lighting module 6200, the microcontroller is shown with internalmemory that stores the theme information decoded from the data encodedpower waveform from the lighting controller 102.

Other lighting devices can be used with a lighting controller 102 thatis capable of encoding data on the primary AC power line. Thearchitecture of this line voltage lighting module can be similar to thelow voltage version 6100, 6200 disclosed above but uses components thatare rated at a voltage sufficiently higher than the line voltage. Forexample, diodes D1, D2, D3, and D4 with sufficient ratings can be 1N4007silicon rectifier diodes from Diodes Inc., and the like. In anotherexample, the Zener diode clamping circuit (shown in FIG. 4) precedingthe linear regulator U2 should be appropriately sized to handle thelarger input voltage. In other embodiments, other methods to step downthe rectified line voltage to a voltage usable by the microcontrollerU3, such as switching converters and the like, can be used. Further, theconditioning circuit R3, R4, R5, R9, C5 should be modified to scale theinput voltage for use by the microcontroller U3. An example of the LEDDriver U1 that can accept a high input voltage is the AL9910 from DiodesInc. Because of the high input voltage, these lighting modules use anexternal MOSFET rather than an integral MOSFET as described in theAL8805 for the low voltage case.

In other embodiments of the line voltage lighting module, an optionalpower factor correction IC can be placed between the full wave bridgeD1, D2, D3, D4 and the rest of the circuit. A suitable device, forexample, is an UCC28810 IC available from Texas Instruments, or thelike. Advantageously, these devices drive the power factor of nonlinearloads, such as LED drivers, closer to unity.

In a further embodiment, the line voltage lighting modules comprise anLED driver U1 that could be controlled from a microcontroller U3 havingan input comprising a scaled and conditioned version of the inputvoltage. The microcontroller U3 deciphers the encoded data, and affectsthe LED driver U1 accordingly.

In some aspects, lighting modules can drive a plurality of LEDs 6120.FIG. 5 is a block diagram of an exemplary multichannel lighting module6300, which receives the data encoded power waveform from the lightingcontroller 102, decodes and performs the encoded commands, and uses thewaveform for power. The illustrated lighting module 6300 comprises abridge rectifier 6302, a conditioning circuit 6304, a voltage regulator6306, a microcontroller 6308, a temperature sensor 6310, a plurality ofLED drivers 6312, 6314, 6316, and 6318, and one or more LEDs 6320, 6322,6324, and 6326. Each LED 6320, 6322, 6324, and 6326 may comprise one ormore LEDs. The illustrated lighting module 6300 is a four channellighting module, although other lighting modules may have more or lessthan four channels.

The bridge rectifier 6302, the conditioning circuit 6304, and thevoltage regulator 6306 are similar in construction and operation to thebridge rectifier 6102, the conditioning circuit 6104, and the voltageregulator 6106 of the single channel lighting fixture 6100,respectively, as described above.

The four channel lighting module 6300 approximately quadruples the LEDs6120 and LED driver 6112 on the single-channel lighting module 6100 withrespect to the LEDs 6320, 6322, 6324, 6326 and the LED drivers 6312,6314, 6316, 6318 for the four channel lighting fixture 6300. Thus eachLED 6320, 6322, 6324, 6326 and each LED driver 6312, 6314, 6316, 6318 issimilar in construction and operation to the LED 6120 and LED driver6112 of the single channel lighting module 6100, respectively, asdescribed above. Similarly, the microcontroller 6308 is similar inconstruction and operation to the microcontroller 6108 of the singlechannel lighting module 6100, as described above, except themicrocontroller 6308 controls multiple channels instead of a singlechannel. In conjunction with the microcontroller 6308, the LED drivers6312, 6314, 6316, and 6318 allow independent brightness control to fourseparate channels of LEDs. In a similar manner to microcontroller 6108,which generates the signal 6130 to control the intensity of LED 6120,microcontroller 6306 generates signals 6330, 6332, 6334, and 6336 tocontrol the intensities of LEDs 6320, 6322, 6324, 6326, respectively.Each string of LEDs 6320, 6322, 6324, 6326 may comprise one or moreLEDs. In other embodiments, this approach could be used to add morechannels, or to change the number of LEDs in each string. In yet otherembodiments, each LED 6320, 6322, 6324, 6326 may comprise several LEDdies in a single package with a single lens, such as, for example, theCREE MC series of LEDs or the like.

Like the single-channel lighting module 6100, the illustrated lightingmodule 6300 uses the microcontroller 6308 to receive information fromthe lighting controller 102 and vary one or more of the LED ON/OFFtiming, color, color temperature, and intensity based on thisinformation. Since each of the four channels can be independentlycontrolled, the commands to the four channel lighting fixture 6300 caninclude one or more of ON/OFF timing, color, color temperature, andintensity level information for each of the four channels.

Advantageously, in the multi-channel lighting module 6300, each channelmay comprise a different color LED 6320, 6322, 6324, and 6326. Forinstance, if the first channel comprises one or more white LEDs, thesecond comprises one or more red LEDs, the third comprises green LEDsand the fourth comprise blue LEDs, then a plurality of lighting colorscould be generated by mixing the intensities in the correct ratios. Forexample, the white channel could create a brighter white light forgeneral lighting needs, or slightly “wash out” the color created by thered, blue, and green LEDs. This allows the user to formulate any colorof light desired, and to vary that color and/or hue, either abruptly, orby a gradual blending technique. Lights could also be modified to matcha particular season or holiday. For instance, red, white, and bluecolored lights could be use on the 4th of July; red and green lightscould be used around Christmas; and orange lights could be used forHalloween and Thanksgiving.

In another embodiment, the multi-channel lighting fixture 6300 allowsthe user to adjust the shade of a white light. Perhaps, for example, theuser is more of a “purest” and simply prefers white lights. The term“white” encompasses a wide range of shades from the more “blue” coolwhites, to the more “yellow” warm whites. White LEDs by their nature arecool white. This is because a white LED is actually a blue LED withphosphor coating that glows white. For most people this is acceptable,but for some, a warmer white may be desired. If one of themulti-channels were populated with a red or yellow LED, then by varyingthe intensity of that channel, the user could vary the warmth, or colortemperature as it is technically called, of the light. This is alsoimportant because different color temperatures are better atilluminating certain subject hues than others.

Control of individual lights or individual channels of LEDs within asingle light is advantageous. Even more advantageous is to be able toachieve this control using the same set of wires 126 that deliver powerto the light. Lastly, integrating the decoder circuitry 6302, 6304,6306, and 6308, the driver circuitry 6312, 6314, 6316, and 6318, and thetemperature throttling 6310 on a single printed circuit board within thelighting module 6300, results in a highly integrated, self-containedintelligent lighting module 6300 which is no harder to install than atradition lighting module.

FIG. 6 is an exemplary schematic diagram of a multichannel lightingmodule 6400, according to one embodiment. In the illustrated fourchannel lighting module 6200, the microcontroller is shown with internalmemory that stores the theme information decoded from the data encodedpower waveform from the lighting controller 102.

FIG. 7A illustrates a lamp 700 plugged into a wall outlet. Lamp 700 canbe a stand-alone lighting fixture, such as a table top lamp, a lightingfixture that is embedded into the construction of a building, such as acan light, and the like. The illustrated lamp 700 comprises a power cord704 that is plugged into a wall outlet in a standard outlet box 706 andelectrically connected to standard line voltage wiring 708 within abuilding wall 710. Lamp 700 does not include memory and cannot storetheme information and cannot act upon the theme information to producetheme modes by itself.

FIG. 7B illustrates a control adapter 702 that includes memory forstoring theme information. The control adapter 702 can control the lamp700 in response to the theme information, according to certainembodiments. Control adapter 702 can be addressable. The control adapter702 can be plugged into the wall outlet 706 or otherwise in electricalcommunication with the line voltage wiring 708. The illustrated lamp 700is plugged into the control adapter 702 or otherwise in electricalcommunication with the control adapter 702. The control adapter 702 caninclude circuitry to dim the lamp 700 and memory to store themeinformation received via the line voltage wiring from the lightingcontroller 102. The control adapter 702 can control the lamp 700according to the theme information, such as one or more of ON/OFFtiming, color, color temperature, hue, intensity, and the like of thelamp 700, in response to commands and data from the lighting controller102 sent as the data encoded power waveform over the two-wire path 126.

A control adapter 702 can be installed in can lights or recessed lightsin the ceiling. For example, many LED lights have a pig tail wire with aconnector that plugs into a mating connector in the can light so the LEDlights can be replaced. A control adapter 702 can be configured to pluginto the power line coming from the ceiling, then the LED light can pluginto another mating connector on the control adaptor 702 so the lightingcontroller 102 can control each individual can light.

The control adapters 702 can allow the lighting controller 102 tooperate standard lights that are readily available in the marketplace.

Lighting Themes

Lighting modules 104, 6100, 6200, 6300, 6400 and control adapter 702 areaddressable individually and as part of a group or zone. A group maycontain one or more lighting modules and/or control adapters, all ofwhich are treated as single entity from a programming and control pointof view. If Group 1 is set to illuminate at a particular time with aparticular color (if applicable) and intensity, then at that time, thelighting controller 102 sends a command as part of the data encodedpower waveform via the two-wire path 126 to the Group 1 lighting modulesand control adapters instructing the Group 1 devices to apply that colorand intensity.

Themes are a level of control above groups. A theme is a collection ofgroups, each group having at least one or more of a uniquelyprogrammable ON/OFF timing, color, color temperature, hue, intensity,and the like. Themes allow lighting designers to create different moodsor modes. For instance, an outdoor patio area can have lights of onegroup above a table, lights of a second group illuminating plants on theperipheral of the seating area, and lights of a third group illuminatinga water feature. A designer or a user could then create a “Dining Theme”where the lights above the table can be at full brightness, and lightsin the peripheral can be more subdued. The user could also create an“Ambience Theme” by lowering the intensity of the lights above thetable, increasing the peripheral and water feature lights, whileenabling a color wheel on the water feature. In a similar fashion,themes can be created for seasonal events. For example, the waterfeature lights can be red, white, and blue for the 4th of July, orangefor Halloween, red and green for Christmas, and green for St. Patrick'sDay.

In another example, the lights of a home's family room can have a TVtheme, where the room lights dim, and a reading theme, where theperipheral lights dim and the light above the easy chair increases inintensity. The home can have a vacation theme, where lights turn ON andOFF and brighten and dim in different areas of the house throughout theevening. The areas of the house that illuminate can change daily.

The advantage of a theme is that once defined, it can be scheduled toturn on automatically, or started manually with great ease. Themes couldcontain hundreds of groups and groups can include one or more lightingmodules. Each lighting module can include multiple lights. A light canbe an LED, an incandescent light, a low voltage light, a line voltagelight, and the like. Without the concept of themes, each of these groupswould have to be individually set up (each time) to create the desiredeffect.

Implementation of Themes in the Lighting Control System

Themes are obviously advantageous from a lighting designer's or theuser's point of view, but add some complexity to the lighting controlsystem. The user can enter the theme information through the operatorinterface (e.g., interface panel, smart device, or the like) associatedwith the lighting controller 102. The lighting controller 102 can storethe theme information, where the theme information comprises adefinition of one or more themes. Each theme can include the addressesof the one or more groups, and one or more of the ON/OFF timing, color,color temperature, hue, and/or intensity of the lights in each of theone or more groups. Then the lighting controller 102 can apply the themeby using the theme information to command the lighting modules 104,6100, 6200, 6300, 6400 and control adapters 702 to create the desiredeffect.

Applying Themes Using Sequential Commands

One approach to applying a theme is for the lighting controller 102 tosend out individual commands to each group instructing one or more ofON/OFF timing, color, color temperature, hue, and intensity. However,the visual effect while applying the theme sequentially would be lessthan optimal. One by one, the user would see the individual groups turnON to their assigned color and intensity as the individual commands weresent. Sometimes, there may be a desire to control each individual lightrather than assigning them to a group. In this situation, the user wouldsee the individual lights turn on one by one to their assigned color andintensity as the individual commands were sent.

Applying Themes Using Queued Commands

The visual downside of the sequential command approach can be mitigatedby using queued commands. Before sending ON commands to the groups, thelighting controller 102 can send queued commands. A queued command tellsa lighting fixture or control adapter to prepare to go to a specificcolor and intensity, but not to apply the color and intensity untilinstructed by an “apply-queued” command. This allows the lightingcontroller 102 to program all of the groups using the queued command,then send out a single apply-queued command that the lighting modulesand control adapters apply or act upon in unison. The visual effect isnow one of all the fixtures coming on at the same time or atapproximately the same time with the colors and intensities as definedin the theme. The queued command approach may be visually superior tothe sequential command approach.

Sequential and Queued Command Approaches

In some embodiments, the queued approach may be visually superior to thesequential approach. However, both can have a common detriment. Asmentioned above, themes may contain hundreds of groups. Depending on thenumber of groups, it can take a considerable amount of time to apply atheme due to the number of commands that are sent as part of the dataencoded power waveform. The user can apply the theme from the lightingcontroller's operator interface or from a smartphone application and seenothing happen. Thinking the command was not received by the lightingmodules and control adapters, the user may attempt to apply the commandagain. This generates a second set of commands sent over the two-wirepath 126, further increasing the data traffic. The user may understandwhat is happening, but the response of the lighting system 100 canappear very sluggish and result in a poor user experience.

Instant Theme Features

An aspect to applying themes instantly or approximately instantly can beto limit the number of commands sent to the lighting modules and/orcontrol adapters when the lighting modules and/or control adapters applythe ON/OFF timing, color, color temperature, hue, and/or intensityassociated with the theme. This can be accomplished by storing thedefinition of each theme meant for each group in the lighting modulesand control adapters before the lighting modules and/or control adaptersapply the ON/OFF timing, color, color temperature, hue, and/or intensityassociated with the theme. The lighting module circuitry shown in FIGS.3-6 includes a microcontroller. In some aspects the microcontroller caninclude non-volatile memory such as, but not limited to, EEPROM memory,re-writeable FLASH memory, both, and the like. The memory can be used tostore the ON/OFF timing, color, color temperature, hue and/or intensitysettings for multiple themes of each of the groups associated with thelighting module and/or control adapter. In another aspect, the lightingmodule circuitry and the control adapter circuitry can include anexternal non-volatile memory chip in communication with themicrocontroller to store the theme information. Each lighting module andcontrol adapter can be taught the information associated with each themefor a particular group.

In an embodiment, the lighting controller 102 transmits a data encodedpower signal or waveform over a two-wire network. The data encoded powersignal can include an encoded message. The encoded message can includecommands associated with lighting themes. The commands associated withthe lighting themes can be based on user input entered by a user at thelighting controller 102.

The encoded message can include a first portion that includes a commandcomprising an indication of a lighting theme of a plurality of lightingthemes. The first portion of the message can further include a qualifierthat provides information or instructions associated with the indicatedlighting theme. The qualifier and the indication of the lighting thememay be part of the same command. In other aspects, the qualifier and theindication of the lighting theme are not included in the same command.Examples of the information or instructions of the qualifier can beapply or turn ON the indicated lighting theme, turn OFF the indicatedlighting theme, end of message or apply END to indicate that thesequence of commands in the message is complete, a notification that thetheme settings for the identified theme have changed, and the like.

The encoded message can include a second portion that comprises one ormore commands that can include settings or other information that thelighting modules apply to create the indicated theme. The settings orother information can include one or more of ON/OFF timing, colorsettings, color temperature, hue, intensity settings, and the like forthe indicated lighting theme that the lighting modules apply to the oneor more lamps of the lighting module.

The data encoded power signal can further include one or more lightingmodule addresses or one or more group addresses for groups of lightingmodules.

The lighting modules can receive the data encoded power signal from thelighting controller 102 via the two-wire network and can decode at leastthe addresses. An addressed lighting module can further decode at leasta portion of the encoded message.

In one aspect, the addressed lighting module can determine the indicatedtheme from the first portion of the message and store the settings fromthe second portion of the message.

In another aspect, the addressed lighting module can determine theindicated theme from a first portion of the message, determine theinstructions from the first portion of the message, retrieve from memorythe stored settings associated with the indicated theme and apply theretrieved settings to one or more lamps within the lighting module. Thememory including the stored settings can be non-volatile memory. Afterapplying the stored settings to the one or more lamps, the lightingmodule can compare the stored settings with the settings of the secondportion of the message to determine whether the indicated theme haschanged. The lighting controller can save the settings of the secondportion of the message in RAM or other temporary storage prior tocomparing. When the indicated theme has changed, the lighting module canapply the new settings from the commands in the second portion of themessage to the one or more lamps and over-write in the memory (e.g.,non-volatile memory) the stored settings with the new settings.

If there are no settings for the indicated theme stored in the memory,the lighting module can apply the new settings from the commands in thesecond portion of the message and store the new settings in the memory.

In another aspect, the addressed lighting module can determine theindicated theme from a first portion of the message and determine theinstructions from the first portion of the message, where theinstructions include an indication that one or more settings associatedwith the indicated theme have changed. When the settings associated withthe indicated theme have changed, the lighting module can apply the newsettings from the commands in the second portion of the message to theone or more lamps and over-write in the memory (e.g., non-volatilememory) stored setting with the new settings without comparing.

Instant Theme Command Examples

The following command and payloads comprise non-limiting examples ofcommands and payloads that can be used to implement the instant themefeatures in the lighting modules and control adapters. In otherembodiments, different commands and payloads can be used to implementthe instant theme features.

“Teach Theme” Command Example (1 Byte Payload)

This command can used to store information in the light fixture'smemory. T5 . . . T0 comprise examples of the binary representation ofthe Theme Index. For example, allowable values can be 0 to 51 when thereis sufficient memory in the light fixtures to store 51 themes. In otherembodiments, there can be more or less than 51 themes. Examples: 0=ThemeA, 1=Theme B, etc.

Payload Example:

MSB LSB 0 0 T5 T4 T3 T2 T1 T0

“Apply Theme” Command Example (1 Byte Payload)

This command can be used to turn ON/OFF a theme that is stored in thelighting fixture's memory, and can also convey that the theme haschanged in the controller. Q1 and Q0 represent examples of binaryqualifiers. In other embodiments there can be more than or less than twobinary qualifiers associated with the command. T5 . . . T0 compriseexamples of the binary representation of the Theme Index. For example,allowable values can be 0 to 51 when there is sufficient memory in thelight fixtures to store 51 themes. In other embodiments, there can bemore or less than 51 themes. Examples: 0=Theme A, 1=Theme B, etc.

Payload Example:

MSB LSB Q1 Q0 T5 T4 T3 T2 T1 T0

Q1 Q0 Meaning 0 0 Apply END - this case indicates the completion of aseries of commands that started with an ON or LEARN or TEACH command.For example, the Apply END qualifier indicates to the lighting fixturethat the sequence of commands is complete. In one embodiment, T5 . . .T0 can be set to 000000. 0 1 Theme ON - the theme identified in T5 . ..T0 is being turned ON. 1 0 Theme OFF - the theme identified in T5 . . .T0 is being turned OFF. 1 1 Theme LEARN - indicates that the informationfollowing the command (for the theme identified in T5 . . . T0) haschanged since it was last sent and should not be acted upon immediately,because the values stored in the lighting fixture may be different fromthe message that follows the Apply Theme Command.

“Queue White Intensity” Command Example (1 Byte Payload)

This command can be used with non-color lighting fixtures and instructsthe lighting fixture to prepare to apply an intensity setting once the“Apply END” command is received. W7 . . . W0 comprise examples of thebinary representation of the intensity setting of the white LED. In anembodiment, allowable values can be 0-100.

Payload Example

MSB LSB W7 W6 W5 W4 W3 W2 W1 W0

“Queue RGBW Intensity” Command (4 Byte Payload)

This command can be typically used with color fixtures and instructs thefixture to prepare to apply the intensity settings once the “Apply END”command is received.

Payload Byte 0 Example

MSB LSB W7 W6 W5 W4 W3 W2 W1 W0W7 . . . W0 comprise examples of the binary representation of theintensity setting of the white LED. In an embodiment, allowable valuescan be 0-100.

Payload Byte 1 Example

MSB LSB R7 R6 R5 R4 R3 R2 R1 R0R7 . . . R0 comprise examples of the binary representation of theintensity setting of the red LED. In an embodiment, allowable values canbe 0-100.

Payload Byte 2 Example

MSB LSB G7 G6 G5 G4 G3 G2 G1 G0G7 . . . G0 comprise examples of the binary representation of theintensity setting of the green LED. In an embodiment, allowable valuescan be 0-100.

Payload Byte 3 Example

MSB LSB B7 B6 B5 B4 B3 B2 B1 B0B7 . . . B0 comprise examples of the binary representation of theintensity setting of the blue LED. In an embodiment, allowable valuescan be 0-100.

Teach Approach

In one embodiment, a “Teach-Theme” command can be used to transfer themeaning of a theme to each group of one or more lighting modules and/orcontrol adapters. This command can target a particular group and includeone or more of ON/OFF timing, color, color temperature, hue, intensity,and a theme designator (number). After receiving the teach-themecommand, the lighting module and control adapter can store theinformation associated with the teach-theme command in non-volatilememory. After each lighting module and control adapter of each group istaught the meaning of each theme that the group is included in, theteaching process can be complete.

After the lighting modules and control adapters are taught their group'ssettings for each theme, the lighting controller 102 can send a global“apply theme X” command, where X can be the theme number or designator,to the lighting modules and control adapters in the data encoded powerwaveform via the two-wire path 126. Upon receiving the apply theme Xcommand, the lighting modules and control adapters can retrieve thesettings associated with theme X from their non-volatile memory andinstantly apply the ON/OFF timing, color, color temperature, hue, andintensity associated with theme X. The end result is that a theme can beapplied across the entire lighting system 100 with a single command.There are a few different approaches that can be used to teach thethemes.

The lighting controller 102 can automatically detect when a usermodifies the settings in a theme, and automatically teach the newsettings to the appropriate groups. The approach can cause the lightingcontroller 102 to apply power to the two-wire path 126 each time theuser modifies a theme. This may prove troublesome since another workermay still be installing lights, and not expecting the lighting system100 to be powered.

In another embodiment, the operator interface can include a “teachtheme” function, which the user can activate in order to teach thethemes to the lighting modules and control adapters.

The lighting controller 102 can be programmed to teach themes at apredetermined time, such as midnight, every day.

Example Command Sequences

Once the user has programmed a theme into the lighting controller 102,the user can instruct the lighting controller 102 to teach theprogrammed theme to the lighting modules so that at a later time, thelighting modules can instantly or approximately instantly apply thetheme.

Teach Approach Example Commands

Once the user has programmed a theme into the lighting controller 102,the user can instruct the lighting controller 102 to teach theprogrammed theme to the lighting modules so that at a later time, thelighting modules can instantly or approximately instantly apply thetheme. Examples of command sequences sent by the lighting controller 102to the lighting modules to teach a theme to the lighting modules areillustrated below.

Example of Non-Color Command Sequence

Command Payload(s) Result Teach Theme Byte1 - 00000010 (Theme “B”)Lighting modules receive this command and program the informationfollowing the command into memory in the “Theme B” non-volatile memoryslot. Queue White Byte1 - 00001111 (Int = 15%) Lighting modules storethe Intensity payload value (15% intensity in this example) into RAM.Apply Theme Byte1 - 00000000 Lighting modules copy the (Apply Endintensity value from RAM to Variant) Theme B non-volatile memory slot.At a later time Apply Theme Byte1 - 01000010 (Theme “B” ON) Lightingmodules receive the (Theme ON “01” in bits 7 and 6 and “000010” Variant)in bits 5-0 and decode as a Theme B ON. Lighting modules then retrievethe Theme B setting from non-volatile memory and apply the retrievedintensity to the LED(s).

Example of Color Command Sequence

Command Payload(s) Result Teach Theme Byte1 - 00000010 (Theme “B”)Lighting modules receive this command and program the informationfollowing the command into memory in the “Theme B” non-volatile memoryslot. Queue RGBW Byte1 - 00001111 (white Int = 15%) Lighting modulesstore the Intensity Byte2 - 00000000 (red Int = 0%) payload values intoRAM. Byte3 - 00100000 (green Int = 32%) Byte4 - 00101000 (blue Int =40%) Apply Theme Byte1 - 00000000 Lighting modules copy intensity (ApplyEnd values from RAM to the Variant) appropriate Theme B non- volatilememory slot. At a later time Apply Theme Byte1 - 01000010 (Theme “B” ON)Lighting modules receive the (Theme ON “01” in bits 7 and 6 and “000010”Variant) in bits 5-0 decode as a Theme B ON. Lighting modules thenretrieve the Theme B settings from non-volatile memory and apply theretrieved intensities to the LEDs.

FIGS. 8A-8C are flow charts illustrating a teach process 800 to apply alighting theme to a collection of groups of lighting modules and controladapters, according to certain embodiments.

At block 802, the user enters or modifies the theme X program and atblock 804, the lighting controller 102 can store the theme X informationin its memory.

At block 806, the first group of one or more lighting modules and/orcontrol adapters can download the theme X information. For example, thefirst group of the one or more lighting modules and/or control adapterscan receive and decode the theme X information from the data encodedpower waveform sent over the two-wire path 126 by the lightingcontroller 102. At block 808, the first group of the one or morelighting modules and/or control adapters can store the theme Xinformation in their memory.

At block 816, the second group of one or more lighting modules and/orcontrol adapters can download the theme X information. For example, thesecond group of the one or more lighting modules and/or control adapterscan receive and decode the theme X information from the data encodedpower waveform sent over the two-wire path 126 by the lightingcontroller 102. At block 818, the second group of the one or morelighting modules and/or control adapters can store the theme Xinformation in their memory.

These steps are repeated for each group associated or identified in thetheme X information, until at block 826, the last group of one or morelighting modules and/or control adapters can download the theme Xinformation. For example, the last group of the one or more lightingmodules and/or control adapters can receive and decode the theme Xinformation from the data encoded power waveform sent over the two-wirepath 126 by the lighting controller 102. At block 828, the last group ofthe one or more lighting modules and/or control adapters can store thetheme X information in their memory.

At block 830, the lighting controller 102 can send the apply theme Xcommand over the two-wire path 126 to the one or more lighting modulesand control adapters of the lighting system 100. At block 832, the oneor more lighting modules and/or control adapters can receive and decodethe apply theme X command from the data encoded power waveform sent overthe two-wire path 126 by the lighting controller 102. The one or morelighting modules and the control adapters can retrieve the theme Xinformation stored in their memory, and the one or more lighting modulescan illuminate and the one or more control adapters can cause theirassociated lamps 700 to illuminate in accordance with the previouslydownloaded instructions for theme X that are stored in the memory ofeach of the one or more lighting modules and control adapters that areassociated with the theme X program.

At block 834, the lighting controller 102 can send the turn theme X OFFcommand over the two-wire path 126 to the one or more lighting modulesand control adapters of the lighting system 100. At block 836, the oneor more lighting modules and/or control adapters can receive and decodethe turn theme X OFF command from the data encoded power waveform sentover the two-wire path 126 by the lighting controller 102. The one ormore lighting modules and the lamps 700 of the one or more controladapters associated with theme X turn off.

Blocks 838-844 illustrate the teach approach when no new settings areentered for theme X. The lighting system 100 can operate theme Xaccording to the settings stored in the memory of the one or morelighting modules and control adapters and in response to a user definedschedule or command.

At block 838, the lighting controller 102 can send the apply theme Xcommand over the two-wire path 126 to the one or more lighting modulesand control adapters of the lighting system 100. At block 840, the oneor more lighting modules and/or control adapters can receive and decodethe apply theme X command from the data encoded power waveform sent overthe two-wire path 126 by the lighting controller 102. The one or morelighting modules and the control adapters can retrieve the theme Xinformation stored in their memory, and the one or more lighting modulescan illuminate and the one or more control adapters can cause theirassociated lamps 700 to illuminate in accordance with the previouslydownloaded instructions for theme X that are stored in the memory ofeach of the lighting modules and control adapters.

At block 842, the lighting controller 102 can send the turn theme X OFFcommand over the two-wire path 126 to the one or more lighting modulesand control adapters of the lighting system 100. At block 844, the oneor more lighting modules and/or control adapters can receive and decodethe turn theme X OFF command from the data encoded power waveform sentover the two-wire path 126 by the lighting controller 102. The one ormore lighting modules and the lamps 700 of the one or more controladapters associated with theme X turn off.

Learn Approach

The learn approach can be similar to the teach approach in that once theindividual lighting modules and control adapters have stored the themeinformation (i.e., understand the meaning of a theme), a single commandcan be used to apply the theme. In the learn approach to the instanttheme feature, commands to apply theme X from the lighting controller102 are preceded by a theme-designation command. The theme-designationcommand can alert the lighting modules and control adapters that aparticular theme is about to be applied.

Each lighting module and control adapter receives and decodes thetheme-designation command, retrieves the settings from memory that areassociated with the theme, if any are stored, and applies the settingsimmediately. The lighting modules and control adapters then “listen” tothe commands that follow the theme-designation command and update theirnon-volatile memory with the applicable theme information from thecommands, if there has been a change.

A new lighting system 100 or a new lighting module or control adapterinstalled in an existing lighting system will not have theme informationstored in its memory. The first time a theme is applied to the lightingsystem, the user may observe a delay in the application of the theme tothe new lighting system, the new lighting module, or the lamp associatedwith the control adapter. Subsequent theme applications after theinitial theme application will not incur the same delay as the initialtheme application because the lighting modules and control adapters havestored theme information during the initial application.

In an embodiment, the theme-designation command can include a changefield that has a first value when the theme information in the lightingcontroller changes, and has a second value when the theme informationhas not been changed. Lighting modules and control adapters candetermine whether the theme information has changed based on the changefield. When the lighting modules and control adapters determine that thetheme information has changed, they would delay applying the theme untilthe new information associated with the theme is received.

The learn theme implementation of the instant theme feature achieves thedesired result without any action by the user, such as “teaching” thefixtures, or any autonomous action by the lighting controller that mayconfuse the user, such as powering the data encoded power waveform whenthe user is not expecting it to be powered.

Learn Approach Example Commands Learn Approach “A” Example

In this scenario, the user could have previously programmed a theme intothe lighting controller 102, and it is now time for the lighting modulesto apply the theme. Examples of command sequences sent by the lightingcontroller 102 to the lighting modules to instruct the lighting modulesto apply the theme are illustrated below.

Example of Non-Color Command Sequence

Command Payload(s) Result Apply Theme Byte1 - 01000010 Lighting modulesreceive this (Theme ON (Theme “B”) command and if the lighting Variant)modules have information stored in non-volatile memory for Theme B, thelighting modules set the LED intensity based on the stored information.Then the lighting modules receive the rest of the command sequence.Queue White Byte1 - 00001111 Lighting modules store the Intensity (Int =15%) payload value (15% intensity in this example) into RAM. Apply ThemeByte1 - 00000000 Lighting modules compare the (Apply End value stored inRAM to the value Variant) stored in non-volatile memory for theme B.When the comparison indicates that the values are the same, the processstops. When the comparison indicates that the values are different, thelighting modules apply the intensity in RAM to their respective LED(s)and over-write the Theme B value in non-volatile memory with the valuefrom RAM.

Example of Non-Color Command Sequence

Command Payload(s) Result Apply Theme Byte1 - 01000010 Lighting modulesreceive this (Theme ON (Theme “B”) command and if the lighting Variant)modules have information stored in non-volatile memory for Theme B, thelighting modules immediately set the LEDs intensities based on thestored information. Then the lighting modules receive the rest of thecommand sequence. Queue RGBW Byte1 - 00001111 Lighting modules store theIntensity (white Int = 15%) payload values into RAM. Byte2 - 00000000(red Int = 0%) Byte3 - 00100000 (green Int = 32%) Byte4 - 00101000 (blueInt = 40%) Apply Theme Byte1 - 00000000 Lighting modules compare the(Apply End values stored in RAM to the Variant) respective values storedin non- volatile memory for theme B. When the comparison indicates thatthe values are the same, the process stops. When the comparisonindicates that the values are different, the lighting modules apply theintensities in RAM to the respective LEDs and over-write the Theme Bvalues in non-volatile memory with the respective values from RAM.

FIGS. 9A-9E are flow charts illustrating a learn process 900 to apply alighting theme to a collection of one or more groups of lightingmodules, according to certain embodiments.

At block 902, the user can enter or modify a theme Y program, and atblock 904, the lighting controller 102 can store the theme Y informationin its memory or update the theme Y information according to the userentered modifications.

At block 906, the user can enter the instructions to turn on theme Y atthe lighting controller 102. At block 908, the lighting controller 102can send the apply theme Y designation command over the two-wire path126 to the one or more lighting modules and control adapters of thelighting system 100. At block 910, the one or more lighting modulesand/or control adapters can receive and decode the apply theme Ydesignation command from the data encoded power waveform sent over thetwo-wire path 126 by the lighting controller 102. The one or morelighting modules and control adapters can retrieve the theme Yinformation stored in their memory, and the one or more lighting modulescan illuminate and the one or more control adapters can cause theirassociated lamps 700 to illuminate in accordance with the previouslydownloaded instructions for theme Y that are stored in the memory ofeach of the lighting modules and control adapters.

At block 912, the lighting controller 102 can send theme information tothe groups of one or more lighting modules and control adapters assignedor associated with theme Y in the data encoded power waveform via thetwo-wire path 126. In one aspect, the lighting controller 102 can sendall of the theme Y information. In another aspect, the lightingcontroller 102 can send a portion of the theme Y information, such assettings associated with theme Y that have changed.

At block 914, the first group of one or more lighting modules and/orcontrol adapters can download the theme Y information. For example, thefirst group of the one or more lighting modules and/or control adapterscan receive and decode the theme Y information from the data encodedpower waveform sent over the two-wire path 126 by the lightingcontroller 102. At block 916, the first group of the one or morelighting modules and/or control adapters can then store the theme Yinformation in their memory. At block 918, the first group of the one ormore lighting modules and/or control adapters can illuminate accordingto the theme Y information retained in their memory.

At block 924, the second group of one or more lighting modules and/orcontrol adapters can download the theme Y information. For example, thesecond group of the one or more lighting modules and/or control adapterscan receive and decode the theme Y information from the data encodedpower waveform sent over the two-wire path 126 by the lightingcontroller 102. At block 926, the second group of the one or morelighting modules and/or control adapters can then store the theme Yinformation in their memory. At block 928, the second group of the oneor more lighting modules and/or control adapters can illuminateaccording to the theme Y information retained in their memory.

These steps are repeated for each group associated or identified in thetheme Y information, until at block 934, the last group of the one ormore lighting modules and/or control adapters can download the theme Yinformation. For example, the last group of the one or more lightingmodules and/or control adapters can receive and decode the theme Yinformation from the data encoded power waveform sent over the two-wirepath 126 by the lighting controller 102. At block 936, the last group ofthe one or more lighting modules and/or control adapters can then storethe theme Y information in their memory. At block 938, the last group ofthe one or more lighting modules and/or control adapters can illuminateaccording to the theme Y information retained in their memory.

At block 940, the lighting controller 102 can send the turn theme Y OFFcommand over the two-wire path 126 to the one or more lighting modulesand control adapters of the lighting system 100. At block 942, the oneor more lighting modules and/or control adapters can receive and decodethe turn theme Y OFF command from the data encoded power waveform sentover the two-wire path 126 by the lighting controller 102. The one ormore lighting modules and the lamps 700 of the one or more controladapters associated with theme Y turn off.

Blocks 946-952 illustrate the learn approach when no new settings areentered for theme Y. The lighting system 100 can operate theme Yaccording to the settings stored in the memory of the one or morelighting modules and control adapters and in response to a user definedschedule or command.

At block 946, the lighting controller 102 can send the apply theme Ycommand over the two-wire path 126 to the one or more lighting modulesand control adapters of the lighting system 100. At block 948, thelighting controller 102 can retrieve the theme Y information from memoryto verify that the theme Y information has been previously downloaded.

At block 950, the one or more lighting modules and/or control adapterscan receive and decode the apply theme Y command from the data encodedpower waveform sent over the two-wire path 126 by the lightingcontroller 102. At block 952, the lighting modules and the controladapters can retrieve the theme Y information stored in their memory,and the one or more lighting modules can illuminate and the one or morecontrol adapters can cause their associated lamps 700 to illuminate inaccordance with the previously downloaded instructions for theme Y thatare stored in the memory of each of the one or more lighting modules andcontrol adapters.

At block 954, the lighting controller 102 can send the turn theme Y OFFcommand over the two-wire path 126 to the one or more lighting modulesand control adapters of the lighting system 100. At block 956, the oneor more lighting modules and/or control adapters can receive and decodethe turn theme Y OFF command from the data encoded power waveform sentover the two-wire path 126 by the lighting controller 102. The lightingmodules and the lamps 700 of the control adapters associated with themeY turn off.

In an embodiment, if the user changed the definition of Theme B, forexample, stored in the lighting controller 102 after the lightingmodules stored or “learned’ the “old” or previous Theme B definition,then when the lighting modules apply the theme a first time after thechange, the lighting modules may apply the old or previous intensityvalues. After receiving the entire command sequence, the lighting modulewould apply new values. The following command sequence provides anexample that can avoid this situation.

Learn Approach “B” Example

In this scenario, the user supplies the lighting controller 102 withinformation that the user may have adjusted the settings associated withtheme B (in this example) such that the settings stored in the lightingfixtures for theme B are no longer valid and it is now time for thelighting modules to apply the theme. Examples of command sequences sentby the lighting controller 102 to the lighting modules to instruct thelighting modules to apply the theme are illustrated below.

Example of Non-Color Command Sequence

Command Payload(s) Result Apply Theme Byte1 - 11000010 Lighting modulesreceive the (Theme LEARN (Theme “B”) “11” in bits 7 and 6 and Variant)“000010” in bits 5-0 decode as new theme information for theme B. Thelighting modules do not apply the setting stored in non-volatile memory.Instead, the lighting modules wait for the command sequence to complete.Queue White Byte1 - 00001111 Lighting modules store the Intensity (Int =15%) payload value (15% in this example) into RAM. Apply Theme Byte1 -00000000 Lighting modules now set the (Apply End LED to the intensitystored in Variant) RAM and over-write the Theme B non-volatile memorysettings with this new value.

Example of Color Command Sequence

Command Payload(s) Result Apply Theme Byte1 - 11000010 Lighting modulesreceive the (Theme LEARN (Theme “B”) “11” in bits 7 and 6 and variant)“000010” in bits 5-0 decode as new theme information for theme B. Thelighting modules do not apply the setting stored in non-volatile memory.Instead, the lighting modules wait for the command sequence to complete.Queue RGBW Byte1 - 00001111 Lighting modules store the Intensity (whiteInt = 15%) payload values into RAM. Byte2 - 00000000 (red Int = 0%)Byte3 - 00100000 (green Int = 32%) Byte4 - 00101000 (blue Int = 40%)Apply Theme Byte1 - 00000000 Lighting modules now set the (Apply EndLEDs to the respective Variant) intensities stored in RAM and over-writethe respective Theme B non-volatile memory settings with these newvalues.

FIGS. 10A-10E are flow charts illustrating another learn process 1000 toapply a lighting theme to a collection of one or more groups of lightingmodules and control adapters, according to certain embodiments.

At block 1002, the user can enter the instructions at the lightingcontroller 102 to turn on theme N. The lighting controller 102 candetermine whether there are any changes to the theme N program at blocks1004 and 1006. When the user has created a new theme N program that didnot exist before or modified an existing theme N program, the process1000 moves from block 1006 to block 1006 a.

Block 1006 a illustrates the user entering the instructions to turn ontheme N where the user has entered a new theme N program or modified anexisting theme N program since the last operation to theme N, as wasdescribed above with respect to block 1006. At block 1008, the lightingcontroller 102 can access the lighting program in its memory. Thelighting controller 102 can store the new or modified theme Ninformation when it was input into the lighting controller 102 by theuser at block 1006. The lighting controller 102 can send theme Ninformation to the groups of one or more lighting modules and controladapters assigned or associated with theme N in the data encoded powerwaveform via the two-wire path 126.

At block 1010, the first group of one or more lighting modules and/orcontrol adapters can download the theme N information. For example, thefirst group of the one or more lighting modules and/or control adapterscan receive and decode the theme N information from the data encodedpower waveform sent over the two-wire path 126 by the lightingcontroller 102.

In one aspect, at block 1012, the first group of the one or morelighting modules and/or control adapters can then store the theme Ninformation in their memory. At block 1014 the first group of the one ormore lighting modules and/or control adapters can illuminate accordingto the theme N information retained in their memory.

In another aspect, at block 1013, the first group of the one or morelighting modules and/or control adapters can compare the new theme Ninformation with the existing theme N information stored in theirmemory. If the theme N information for the first group of the one ormore lighting modules and control adapters has not changed, the firstgroup of one or more lighting modules and/or control adapters canilluminate according to the theme N information retained in theirmemory.

At block 1020, the second group of one or more lighting modules and/orcontrol adapters can download the theme N information. For example, thesecond group of the one or more lighting modules and/or control adapterscan receive and decode the theme N information from the data encodedpower waveform sent over the two-wire path 126 by the lightingcontroller 102.

In one aspect, at block 1022, the second group of the one or morelighting modules and/or control adapters can then store the theme Ninformation in their memory. At block 1024 the second group of the oneor more lighting modules and/or control adapters can illuminateaccording to the theme N information retained in their memory.

In another aspect, at block 1023, the second group of the one or morelighting modules and/or control adapters can compare the new theme Nprogram with the existing program stored in their memory. If the theme Ninformation for the second group of one or more lighting modules andcontrol adapters has not changed, the second group of the one or morelighting modules and/or control adapters can illuminate according to thetheme N information retained in their memory.

These steps are repeated for each group of one or more lighting modulesand control adapters associated or identified in the theme Ninformation, until at block 1030, the last group of the one or morelighting modules and/or control adapters can download the theme Ninformation. For example, the last group of the one or more lightingmodules and/or control adapters can receive and decode the theme Ninformation from the data encoded power waveform sent over the two-wirepath 126 by the lighting controller 102.

In one aspect, at block 1032, the last group of the one or more lightingmodules and/or control adapters can then store the theme N informationin memory. At block 1034 the last group of one or more lighting modulesand/or control adapters can illuminate according to the theme Ninformation retained in their memory.

In another aspect, at block 1033, the last group of the one or morelighting modules and/or control adapters can compare the new theme Nprogram with the existing program stored in their memory. If the theme Nprogram for the last group of the one or more lighting modules andcontrol adapters has not changed, the last group of the one or morelighting modules and/or control adapters can illuminate according to thetheme N information retained in their memory.

At block 1036, the lighting controller 102 can send the turn theme N OFFcommand over the two-wire path 126 to the one or more lighting modulesand control adapters of the lighting system 100. At step 1038, the oneor more lighting modules and/or control adapters can receive and decodethe turn theme N OFF command from the data encoded power waveform sentover the two-wire path 126 by the lighting controller 102. The one ormore lighting modules and the lamps 700 of the one or more controladapters associated with theme N turn off.

Referring to blocks 1002, 1004, 1006, the user can enter the command atthe lighting controller 102 to turn on theme N at block 1002 and thelighting controller 102 determines whether there are any changes to thetheme N program at blocks 1004 and 1006. When the user has not modifiedan existing theme N program, the process 1000 moves from block 1004 toblock 1004 a.

Block 1004 a illustrates the user entering the instructions turn ontheme N where the user has not made any changes to the theme N program,as was described above with respect to block 1004. At block 1040, thelighting controller 102 can access the lighting program in its memory.The lighting controller 102 can send the turn on theme N-no changescommand in the data encoded power waveform via the two-wire path 126 tothe one or more lighting modules and/or control adapters incommunication with the lighting controller 102.

At block 1042, the one or more lighting modules and/or control adaptersin communication with the lighting controller 102 receive and decode theturn on theme N-no changes command from the lighting controller 102.

In one aspect, at block 1044, the one or more lighting modules and/orcontrol adapters with theme N information retained in their memoryilluminate in accordance with the theme N information retained in theirmemory.

In another aspect, at block 1045, the lighting controller 102 can sendthe theme N information to the one or more lighting modules and/orcontrol adapters after sending the turn on theme N-no changes command.The one or more lighting modules and/or control adapters can receive andstore the theme N information in their memory. This can insure that theone or more lighting modules and/or control adapters are illuminatingaccording to the theme N information.

At block 1046, the lighting controller 102 can send the turn theme N OFFcommand over the two-wire path 126 to the one or more lighting modulesand control adapters of the lighting system 100. At step 1048, the oneor more lighting modules and/or control adapters can receive and decodethe turn theme N OFF command from the data encoded power waveform sentover the two-wire path 126 by the lighting controller 102. The one ormore lighting modules and the lamps 700 of the one or more controladapters associated with theme N turn off.

Terminology

It should be noted that in any of these implementations what isdescribed as several messages can be combined into one, or what isdescribed as one message can be broken into several.

Depending on the embodiment, certain acts, events, or functions of anyof the algorithms described herein can be performed in a differentsequence, can be added, merged, or left out altogether (e.g., not alldescribed acts or events are necessary for the practice of thealgorithm). Moreover, in certain embodiments, acts or events can beperformed concurrently, e.g., through multi-threaded processing,interrupt processing, or multiple processors or processor cores or onother parallel architectures, rather than sequentially.

The various illustrative logical blocks, modules, and algorithm stepsdescribed in connection with the embodiments disclosed herein can beimplemented as electronic hardware, computer software, or combinationsof both. To clearly illustrate this interchangeability of hardware andsoftware, various illustrative components, blocks, modules, and stepshave been described above generally in terms of their functionality.Whether such functionality is implemented as hardware or softwaredepends upon the particular application and design constraints imposedon the overall system. The described functionality can be implemented invarying ways for each particular application, but such implementationdecisions should not be interpreted as causing a departure from thescope of the disclosure.

The various illustrative logical blocks and modules described inconnection with the embodiments disclosed herein can be implemented orperformed by a machine, such as a general purpose processor, a digitalsignal processor (DSP), an application specific integrated circuit(ASIC), a field programmable gate array (FPGA) or other programmablelogic device, discrete gate or transistor logic, discrete hardwarecomponents, or any combination thereof designed to perform the functionsdescribed herein. A general purpose processor can be a microprocessor,but in the alternative, the processor can be a controller,microcontroller, or state machine, combinations of the same, or thelike. A processor can also be implemented as a combination of computingdevices, e.g., a combination of a DSP and a microprocessor, a pluralityof microprocessors, one or more microprocessors in conjunction with aDSP core, or any other such configuration.

The steps of a method, process, or algorithm described in connectionwith the embodiments disclosed herein can be embodied directly inhardware, in a software module executed by a processor, or in acombination of the two. A software module can reside in RAM memory,flash memory, ROM memory, EPROM memory, EEPROM memory, registers, harddisk, a removable disk, a CD-ROM, or any other form of computer-readablestorage medium known in the art. An exemplary storage medium can becoupled to the processor such that the processor can read informationfrom, and write information to, the storage medium. In the alternative,the storage medium can be integral to the processor. The processor andthe storage medium can reside in an ASIC.

Conditional language used herein, such as, among others, “can,” “might,”“may,” “e.g.,” and the like, unless specifically stated otherwise, orotherwise understood within the context as used, is generally intendedto convey that certain embodiments include, while other embodiments donot include, certain features, elements and/or states. Thus, suchconditional language is not generally intended to imply that features,elements and/or states are in any way required for one or moreembodiments or that one or more embodiments necessarily include logicfor deciding whether these features, elements and/or states are includedor are to be performed in any particular embodiment. The terms“comprising,” “including,” “having,” and the like are synonymous and areused inclusively, in an open-ended fashion, and do not excludeadditional elements, features, acts, operations, and so forth. Also, theterm “or” is used in its inclusive sense (and not in its exclusivesense) so that when used, for example, to connect a list of elements,the term “or” means one, some, or all of the elements in the list.

While the above detailed description has shown, described, and pointedout novel features as applied to various embodiments, it will beunderstood that various omissions, substitutions, and changes in theform and details of the devices or algorithms illustrated can be madewithout departing from the spirit of the disclosure. As will berecognized, certain embodiments of the inventions described herein canbe embodied within a form that does not provide all of the features andbenefits set forth herein, as some features can be used or practicedseparately from others. The scope of certain inventions disclosed hereinis indicated by the appended claims rather than by the foregoingdescription. All changes which come within the meaning and range ofequivalency of the claims are to be embraced within their scope.

What is claimed is:
 1. A system to manage lighting themes in a pluralityof lighting modules, the system comprising: a lighting controllerconfigured to receive AC power from a primary AC power source and userinput indicative of lighting theme information and generate a dataencoded power signal to provide power and encoded messages based on thelighting theme information over a two-wire network, the lighting themeinformation including a request to implement a lighting theme of aplurality of lighting themes; and a plurality of lighting modules, eachlighting module of the plurality of lighting modules configured toreceive the data encoded power signal over the two-wire network, eachlighting module including at least one lamp, lamp driver circuitry, amicroprocessor, and memory storing instructions, that when executed bythe processor, configure each lighting module to: decode at least aportion of the encoded message, the at least a portion including anindication of the requested lighting theme; retrieve one or more storedsettings for the at least one lamp that are associated with therequested lighting theme from the memory; and execute the retrievedsettings.
 2. The system of claim 1 wherein the lighting themeinformation further includes commands based on the user input toimplement the requested lighting theme.
 3. The system of claim 2 whereinthe instructions further configure each lighting module to decode asecond portion of the encoded message after executing the retrievedsettings associated with the requested lighting theme, the secondportion of the encoded message including the commands based on the userinput.
 4. The system of claim 3 wherein the instructions furtherconfigure each lighting module to compare the commands based on the userinput from the decoded second portion with the one or more storedsettings to determine changes in the requested lighting theme.
 5. Thesystem of claim 4 wherein the instructions further configure eachlighting module to revise the one or more stored settings based on thedetermined changes in the requested lighting theme.
 6. The system ofclaim 4 wherein the instructions further configure each lighting moduleto execute the commands based on the user input from the decoded secondportion when the comparison indicates changes in the requested lightingtheme.
 7. The system of claim 6 wherein the instructions furtherconfigure each lighting module to replace the one or more storedsettings in the memory with the commands based on the user input fromthe decoded second portion.
 8. The system of claim 1 wherein the atleast one lamp is an LED, an incandescent light, a low voltage light, ora line voltage light.
 9. The system of claim 1 wherein the commandsprovide indications to control one or more of ON/OFF times, color, colortemperature, or intensity of the at least one lamp.
 10. A lightingmodule comprising: at least one lamp; a microprocessor, and memorystoring instructions, that when executed by the microprocessor, causethe lighting module to: receive a data encoded power signal over atwo-wire network, the data encoded power signal providing power andencoded messages, the encoded messages including lighting themeinformation indicative of a lighting theme of a plurality of lightingthemes; decode at least a portion of the received message, the at leasta portion including an indication of the lighting theme; and execute oneor more settings stored in the memory for the at least one lamp andassociated with the lighting theme based on the indication of thelighting theme.
 11. The lighting module of claim 10 wherein theinstructions further cause the lighting module to decode a secondportion of the encoded message after executing the stored settingsassociated with the lighting theme, the second portion of the encodedmessage including commands associated with the lighting themeinformation.
 12. The lighting module of claim 11 wherein theinstructions further cause the lighting module to compare the commandsfrom the decoded second portion with the stored settings to determinechanges in the lighting theme.
 13. The lighting module of claim 12wherein the instructions further cause the lighting module to store inthe memory the determined changes in the lighting theme.
 14. Thelighting module of claim 12 wherein the instructions further cause thelighting module to implement the commands from the decoded secondportion when the comparison indicates changes in the lighting theme. 15.The lighting module of claim 10 wherein each lighting module of theplurality of lighting modules is addressable.
 16. A method to managelighting themes in lighting modules, the method comprising: receiving ata plurality of lighting modules a data encoded power signal over atwo-wire network, the data encoded power signal providing power andencoded messages, the encoded messages including lighting themeinformation indicative of a lighting theme of a plurality of lightingthemes; decoding, with at least one lighting module of the plurality oflighting modules, at least a portion of the received message, the atleast a portion including an indication of the lighting theme, the atleast one lighting module comprising memory and at least one lamp; andapplying, with the at least one lighting module, one or more settingsstored in the memory for the at least one lamp and associated with thelighting theme.
 17. The method of claim 16 further comprising decoding,with the at least one lighting module, a second portion of the encodedmessage after applying the stored settings associated with the lightingtheme, the decoded second portion including commands associated with thelighting theme.
 18. The method of claim 17 further comprising comparing,with the at least one lighting module, the commands from the decodedsecond portion with the stored settings to determine changes in thelighting theme.
 19. The method of claim 18 further comprising applying,with the at least one lighting module, the commands from the decodedsecond portion when the comparison indicates changes in the lightingtheme.
 20. The method of claim 18 further comprising, with the at leastone lighting module, over-writing the stored settings in the memory withthe commands from the decoded second portion when the comparisonindicates changes in the lighting theme.